const Koa =  require('koa')
const router = require('koa-router')
const views = require('koa-views')
const {join} = require('path')

const app = new Koa()

app.use(views(join(__dirname,"views"), {
  extension: 'pug'
}))

app.use(async ctx => {
  await ctx.render("index", {
    
  })
})

app.listen(3000)